﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;


namespace PankowGame13
{
    class PathTile:Tile
    {
        public PathTile(string pathPicture, Vector2 pathLocation, int textureSize, ContentManager content)
        {
            tileTexture = content.Load<Texture2D>(pathPicture);
            tileLocation = pathLocation;
            tileSize = textureSize;
            canPass = true;
            tileRect = new Rectangle((int)tileLocation.X, (int)tileLocation.Y, textureSize, textureSize);
        }
    }
}
